package com.wtwd.campus.vcom.entity;

import com.wtwd.campus.entity.FencePoints;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author mjy
 * @date 2022/11/08
 * @description
 */
@ApiModel(value = "AddOrgPolygonFenceDto对象", description = "用于新增原型围栏")
public class AddOrgPolygonFenceDto {

    @ApiModelProperty(notes = "设备序列号；围栏所包含的设备")
    private List<String> imeis;

    @ApiModelProperty(notes = "围栏id")
    private String fenceId;

    @ApiModelProperty(notes = "围栏名称")
    private String fenceName;

    @ApiModelProperty(notes = "围栏顶点")
    private List<FencePoints> fencePoints;

    @ApiModelProperty(notes = "围栏报警类型（0：进围栏报警，1：出围栏报警，2进出都报警）这里为2")
    private String alarmType;

    @ApiModelProperty(notes = "围栏类型 （1：圆形，2：多边形）这里为2")
    private String fenceType;

    @ApiModelProperty(notes = "围栏所属应用类型（0：家长端 1：第三方厂家 2：通用平台） 这里为1")
    private String appType;

    @ApiModelProperty(notes = "围栏地址")
    private String address;

    @ApiModelProperty(notes = "是否激活，这里为true")
    private Boolean isActive;

    @ApiModelProperty(notes = "附加参数,可选")
    private String params;


    public List<String> getImeis() {
        return imeis;
    }

    public void setImeis(List<String> imeis) {
        this.imeis = imeis;
    }

    public String getFenceId() {
        return fenceId;
    }

    public void setFenceId(String fenceId) {
        this.fenceId = fenceId;
    }

    public String getFenceName() {
        return fenceName;
    }

    public void setFenceName(String fenceName) {
        this.fenceName = fenceName;
    }

    public String getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(String alarmType) {
        this.alarmType = alarmType;
    }

    public String getFenceType() {
        return fenceType;
    }

    public void setFenceType(String fenceType) {
        this.fenceType = fenceType;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Boolean getActive() {
        return isActive;
    }

    public void setActive(Boolean active) {
        isActive = active;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public List<FencePoints> getFencePoints() {
        return fencePoints;
    }

    public void setFencePoints(List<FencePoints> fencePoints) {
        this.fencePoints = fencePoints;
    }

    @Override
    public String toString() {
        return "AddOrgPolygonFenceDto{" +
                "imeis=" + imeis +
                ", fenceId='" + fenceId + '\'' +
                ", fenceName='" + fenceName + '\'' +
                ", fencePoints=" + fencePoints +
                ", alarmType='" + alarmType + '\'' +
                ", fenceType='" + fenceType + '\'' +
                ", appType='" + appType + '\'' +
                ", address='" + address + '\'' +
                ", isActive=" + isActive +
                ", params='" + params + '\'' +
                '}';
    }
}
